/*
* Sample pixel values from texture using compute shader
*/
#pragma once

#include "engine/platform/texture.h"
#include <glm/glm.hpp>
#include <memory>
#include <vector>

namespace kanon
{
    class ComputeTextureSampling
    {
    private:
        std::vector<glm::vec4> pixel_values;
    public:
        ComputeTextureSampling();
        void Sample(const std::shared_ptr<Texture2D>& texture, std::vector<glm::ivec2>& coords);
    };
}
